package modle;

import java.io.*;
import java.util.ArrayList;

public class GetResource {

	static public ArrayList<String> StrStu = new ArrayList<String>();
	static int line = 1;

	public GetResource() {
		

		BufferedReader bufferedReader = null;
		try {
			File file = new File("./data/resource.txt");
			Reader reader=new FileReader(file);
			bufferedReader = new BufferedReader(reader);
			String tempString = null;

			while ((tempString = bufferedReader.readLine()) != null) {
				StrStu.add(tempString);
				line++;
			}
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			if (bufferedReader!= null) {
				try {
					bufferedReader.close();
				} catch (IOException e1) {
				}

			}
		}

	}
}
